package com.chuqiyun.authorization.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chuqiyun.authorization.entity.Sysuser;
import org.springframework.stereotype.Component;

/**
 * 管理员账号(Sysuser)表服务接口
 *
 * @author mryunqi
 * @since 2023-04-14 17:36:10
 */
public interface SysuserService extends IService<Sysuser> {


    /**
     * @Author: mryunqi
     * @Description: 获取单个系统管理员用户数据
     * @DateTime: 2023/4/14 22:22
     * @Params: String phone
     * @Return Sysuser
     */
    Sysuser getSysuser(String phone);

    int insertSysuser(Sysuser sysuser);
}

